<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/2
  Time: 11:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8"%>
<!--Start left side Menu-->
<div class="left-side sticky-left-side">

    <!--logo-->
    <div class="logo">
        <a href="${pageContext.request.contextPath}/index"><img
                src="${pageContext.request.contextPath}/assets/images/logo.png" alt=""></a>
    </div>

    <div class="logo-icon text-center">
        <a href="#"><img src="${pageContext.request.contextPath}/assets/images/logo-icon.png" alt=""></a>
    </div>
    <!--logo-->

    <div class="left-side-inner">
        <!--Sidebar nav-->
        <ul class="nav nav-pills nav-stacked custom-nav">
            <li><a href="${pageContext.request.contextPath}/index"><i class="icon-home"></i>
                <span>首页</span></a>
            </li>

            <li class="menu-list ${pageContext.request.requestURI.contains("goods")?"nav-active":""}">
                <a href="#"><i class="icon-layers"></i> <span>商品</span></a>
                <ul class="sub-menu-list">
                    <li class="${pageContext.request.requestURI.contains("goods/productList")?"active":""}">
                        <a href="${pageContext.request.contextPath}/goods/productList"> 商品列表</a></li>
                    <li class="${pageContext.request.requestURI.contains("goods/productAdd")?"active":""}">
                        <a href="${pageContext.request.contextPath}/goods/productAdd"> 添加商品</a></li>
                    <li class="${pageContext.request.requestURI.contains("goods/productSort")?"active":""}">
                        <a href="${pageContext.request.contextPath}/goods/productSort">商品分类</a></li>
                    <li class="${pageContext.request.requestURI.contains("goods/type")?"active":""}">
                        <a href="${pageContext.request.contextPath}/goods/productType">商品类型</a></li>
                    <li class="${pageContext.request.requestURI.contains("goods/productBrand")?"active":""}">
                        <a href="${pageContext.request.contextPath}/goods/productBrand">品牌管理</a></li>
                </ul>
            </li>

            <li class="menu-list ${pageContext.request.requestURI.contains("order")?"nav-active":""}">
                <a href="#"><i class="icon-grid"></i> <span>订单</span></a>
                <ul class="sub-menu-list">
                    <li class="${pageContext.request.requestURI.contains("order/orderList")?"active":""}">
                        <a href="${pageContext.request.contextPath}/order/orderList">订单列表</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("order/orderSetting")?"active":""}">
                        <a href="${pageContext.request.contextPath}/order/orderSetting">订单设置</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("order/returnApplyList")?"active":""}">
                        <a href="${pageContext.request.contextPath}/order/returnApplyList">退货申请处理</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("order/returnReasonList")?"active":""}">
                        <a href="${pageContext.request.contextPath}/order/returnReasonList">退货原因设置</a>
                    </li>
                </ul>
            </li>

            <li class="menu-list ${pageContext.request.requestURI.contains("sell")?"nav-active":""}"><a href="#">
                <i class="icon-envelope-open"></i> <span>营销</span></a>
                <ul class="sub-menu-list">
                    <li class="${pageContext.request.requestURI.contains("sell/flash")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/flashPromotion/list">秒杀活动列表</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("sell/coupon_index")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/coupon_index">优惠券列表</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("sell/brand")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/brand">品牌推荐</a>
                    </li>
                    <li class="${pageContext.request.requestURI.contains("sell/newProduct")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/newProduct">新品推荐</a></li>
                    <li class="${pageContext.request.requestURI.contains("sell/product")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/product">人气推荐</a></li>
                    <li class="${pageContext.request.requestURI.contains("sell/recommend_index")?"active":""}">
                        <a href="${pageContext.request.contextPath}/sell/recommend" >专题推荐</a></li>
                    <li><a href="${pageContext.request.contextPath}/sell/advertise">广告列表</a></li>
                </ul>
            </li>

            <li class="menu-list ${pageContext.request.requestURI.contains("permissions")?"nav-active":""}"><a href="#"><i
                    class="icon-lock"></i> <span>权限</span></a>
                <ul class="sub-menu-list">
                    <li class="${pageContext.request.requestURI.contains("permissions/admin")?"active":""}">
                        <a href="${pageContext.request.contextPath}/permissions/admin"> 用户列表 </a></li>
                    <li class="${pageContext.request.requestURI.contains("permissions/role")?"active":""}"><a
                            href="${pageContext.request.contextPath}/permissions/role"> 角色列表 </a></li>
                    <li class="${pageContext.request.requestURI.contains("permissions/menu")?"active":""}"><a
                            href="${pageContext.request.contextPath}/permissions/menu"> 菜单列表 </a></li>
                    <li class="${pageContext.request.requestURI.contains("permissions/resource")?"active":""}">
                        <a href="${pageContext.request.contextPath}/permissions/resource"> 资源列表 </a></li>
                </ul>
            </li>
        </ul>
        <!--End sidebar nav-->

    </div>
</div>
<!--End left side menu-->